<?php foreach ($rows as $id => $row): 
 print $row;  endforeach; ?>